﻿using System;
using System.Xml;
using System.Xml.Serialization;

namespace openSourceC.DaylifeClient
{
	/// <summary>
	///		Summary description for Topic.
	/// </summary>
	[Serializable]
	[XmlType("topic")]
	public class Topic
	{
		/// <summary></summary>
		[XmlElement("daylife_url")]
		public string DaylifeUrl { get; set; }

		/// <summary></summary>
		[XmlElement("hero_image")]
		public HeroImage HeroImage { get; set; }

		/// <summary></summary>
		[XmlElement("image")]
		public Image Image { get; set; }

		/// <summary></summary>
		[XmlElement("name")]
		public string Name { get; set; }

		/// <summary></summary>
		[XmlElement("topic_id")]
		public string TopicId { get; set; }

		/// <summary></summary>
		[XmlElement("type")]
		public string Type { get; set; }

		/// <summary></summary>
		[XmlElement("wiki_info")]
		public WikiInfo WikiInfo { get; set; }


		/// <summary>Gets or sets the array of all the out-of-band elements.</summary>
		[XmlAnyElement]
		public XmlElement[] ZElements { get; set; }
	}
}
